package cn.net.shuxing.yifu.common.mapper;

import cn.net.shuxing.yifu.common.bean.UserRelationship;
import org.apache.ibatis.annotations.Param;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;

public interface UserRelationshipMapper extends Mapper<UserRelationship> {

    List<UserRelationship> selectList(@Param("type") Integer type,@Param("userId1")Long userId1);

    List<UserRelationship> selectListByUserIdStr(@Param("type") Integer type, @Param("userIdStr") String userIdStr);

    List<UserRelationship> selectPageList(@Param("startPageOn") Integer startPageOn,@Param("pageSize") Integer pageSize,
                                          @Param("type") Integer type,@Param("userId1") Long userId1);
}
